GCC4.6: Fix common/usb.c on xscale
authorMarek Vasut <[email protected]>
Sat, 5 Nov 2011 22:35:12 +0000 (23:35 +0100)
committerAlbert ARIBAUD <[email protected]>
Tue, 15 Nov 2011 21:24:50 +0000 (22:24 +0100)
commit5e8baf878ea0976b9ec5f46d64cec5810ba9c195
treef1dd7a3fcaf135f53eb6be55d9bd5afd35baa6bc
parent54cd51bf7910164e6640c7f428f2fd95e15019da
GCC4.6: Fix common/usb.c on xscale

The problem was that the code, when the function was compiled with -Os, was
misgenerated. As in the function description, this is likely another
manifestation of the bug in GCC.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Remy Bohmer <[email protected]>
common/usb.c